package com.emergency.embackend.service;

import com.emergency.embackend.common.PageParams;
import com.emergency.embackend.entity.QuizSuit;
import com.emergency.embackend.param.AddQuizSuitParam;
import com.emergency.embackend.param.QuizSuitParam;
import com.emergency.embackend.vo.QuizSuitVO;
import com.emergency.embackend.vo.UserSuitRecordVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author chddd
 * @description
 * @create 2024/3/11 17:05:49
 */
public interface QuizSuitService {
    PageInfo page(QuizSuitParam quizSuitParam);

    void delete(Long suitId);

    Long add(AddQuizSuitParam addQuizSuitParam);

    void update(AddQuizSuitParam addQuizSuitParam);

    UserSuitRecordVO getUserSuitRecord(QuizSuitParam quizSuitParam,Long userId);

    PageInfo getRecentlySuit(PageParams pageParams);

    List<QuizSuitVO> getRecommendSuit(QuizSuitParam quizSuitParam);
}
